import request from '@/utils/request'

// 查询字典房屋性质/用途列表
export function listADictNatureUser(query) {
  return request({
    url: '/system/ADictNatureUser/list',
    method: 'get',
    params: query
  })
}

// 查询字典房屋性质/用途详细
export function getADictNatureUser(id) {
  return request({
    url: '/system/ADictNatureUser/' + id,
    method: 'get'
  })
}

// 新增字典房屋性质/用途
export function addADictNatureUser(data) {
  return request({
    url: '/system/ADictNatureUser',
    method: 'post',
    data: data
  })
}

// 修改字典房屋性质/用途
export function updateADictNatureUser(data) {
  return request({
    url: '/system/ADictNatureUser',
    method: 'put',
    data: data
  })
}

// 删除字典房屋性质/用途
export function delADictNatureUser(id) {
  return request({
    url: '/system/ADictNatureUser/' + id,
    method: 'delete'
  })
}

// 逻辑删除字典房屋性质/用途
export function logicDelADictNatureUser(id) {
  return request({
    url: '/system/ADictNatureUser/logicDel/' + id,
    method: 'delete'
  })
}
